<% url = local_assigns[:url] %>
<% disabled = local_assigns[:disabled] %>

<div class="flex align-start gap txt-align-center">
  <div class="flex flex-column flex-1">
    <%= form_with model: model, url: url, data: { controller: "form" } do |form| %>
      <%= render "entropy/knob",
            form: form,
            name: :auto_postpone_period,
            knob_options: entropy_auto_close_options,
            label: "Days until auto-close",
            disabled: disabled  %>
    <% end %>
  </div>
</div>
